~F1:: {
    str := ""
    Loop 5
    {
        str:= str getClor()
    }
    A_Clipboard := str
}

getClor()
{
    MouseGetPos &MouseX, &MouseY
    Color := PixelGetColor(MouseX, MouseY)
    str := "(" MouseX "," MouseY ") == `"" Color "`"" 
    Return str
}

XButton2::
    {
        while(GetKeyState("XButton2", "P")) {
            c1 := PixelGetColor(894,610)
            if (c1 == "0xDDC6A4") {
                tx()
            } else 
            {
                rx() 
            }
        }
    }

    XButton1::{
        SendInput "{s}"
        Sleep 50
        SendInput "{s}"
    }

    rx()
    {
        SendInput "{r}"
        Sleep 385
        SendInput "{t}"
        Sleep 245
    }

    tx()
    {

        SendInput "{r}"
        Sleep 385
        SendInput "{t}"
        Sleep 250
        SendInput "{f}"
        Sleep 250
    }

